package com.itheima.day01.test1;

public class Test1 {
    public static void main(String[] args) {
        NewPhone newPhone=new NewPhone();
        newPhone.setBrand("huawei");
        newPhone.setPrice(1234);

        System.out.println("新手机的价格"+newPhone.getPrice()+"品牌为:"+newPhone.getBrand());
        newPhone.call("zs");
        newPhone.sendMessage();
        newPhone.playGame();
    }
}
